//
//  HXNavigationBar.h
//  navibarTest
//
//  Created by 周义进 on 14/09/2018.
//  Copyright © 2018 DaHuanXiong. All rights reserved.
//

//声明:根据WRNavigationBar(https://github.com/wangrui460/WRNavigationBar)修改

#import <UIKit/UIKit.h>
#import "UIViewController+HXNavigationBar.h"

#define kHXTopicBlack [UIColor colorWithRed:51/255.0 green:51/255.0 blue:51/255.0 alpha:1]

// !!!: WARNING!!! WARNING!!! WARNING!!!
/*
    if you set navigationBar.translucent = NO or call system method setBackgroundImage; then this module will no work in the desired way.
*/

@interface HXNavigationBar : UIView

#pragma mark local 
+ (void)hx_uesdToNavVCArr:(NSArray<UINavigationController *> *)navVCArr;

#pragma mark setting
/**
 set NavigationBar's default barTintColor
 defult is [UIColor WhiteColor]
 @param barTintColor barTintColor
 */
+ (void)hx_setNavigationBar_defaultBarTintColor:(UIColor *)barTintColor;




/**
 set NavigationBar's default tintColor
 defult is kHXTopicBlack

 @param tintColor tintColor
 */
+ (void)hx_setNavigationBar_defaultTintColor:(UIColor *)tintColor;


/**
 set NavigationBar's default titleColor
 defult is kHXTopicBlack
 
 @param titleColor titleColor
 */
+ (void)hx_setNavigationBar_defaultTitleColor:(UIColor *)titleColor;


/**
 set NavigationBar's default statusBarStyle
 defult is UIStatusBarStyleDefault
 
 @param statusBarStyle statusBarStyle
 */
+ (void)hx_setStatusBar_defaultStyle:(UIStatusBarStyle)statusBarStyle;

/**
 set NavigationBar's default ShadowImageHiddenStatus
 defult is NO
 
 @param hidden hidden
 */
+ (void)hx_setNavigationBar_defaultShadowImageHidden:(BOOL)hidden;

//设置默认毛玻璃效果 default NO
+ (void)hx_setNavigationBar_defaultOpenBlurEffect:(BOOL)open;

#pragma mark getting

+ (UIColor *)hx_navigationBar_defaultBarTintColor;

+ (UIColor *)hx_navigationBar_defaultTintColor;

+ (UIColor *)hx_navigationBar_defaultTitleColor;

+ (UIStatusBarStyle)hx_statusBar_defaultStyle;

+ (BOOL)hx_navigationBar_defaultShadowImageHidden;

+ (BOOL)hx_navigationBar_defaultBlurEffectOpen;

+ (BOOL)hx_canUsedInNavVC:(UINavigationController *)navVC;
@end
